<link rel="stylesheet" href="lib/ztree/3.5/css/zTreeStyle.css">
<link rel="stylesheet" href="lib/codemirror/4.1/lib/codemirror.css">
<link rel="stylesheet" href="app/collection/css/collection.css"/>

<div class="file_main">
    <div class="col-sm-2 file_left">
        <ul id="zkTree" class="ztree"></ul>
    </div>
    <div class="col-sm-10 file_right">
        <div style="margin-bottom: 10px;">
            <button type="button" class="btn btn-default" ng-click="edit()" ng-show="!editMode">编辑</button>
            <button type="button" class="btn btn-primary" ng-click="save()" ng-show="editMode">保存</button>
            <button type="button" class="btn btn-default" ng-click="cancel()" ng-show="editMode">取消</button>
            <img src="img/loading.gif" ng-show="save_loading" alt="Loading"/>
        </div>

        <textarea id="fileEditor" name="fileEditor"></textarea>

        <div style="margin-top: 10px;">
            <button type="button" class="btn btn-default" ng-click="edit()" ng-show="!editMode">编辑</button>
            <button type="button" class="btn btn-primary" ng-click="save()" ng-show="editMode">保存</button>
            <button type="button" class="btn btn-default" ng-click="cancel()" ng-show="editMode">取消</button>
            <img src="img/loading.gif" ng-show="save_loading" alt="Loading"/>
        </div>

    </div>
    <div class="clearfix"></div>
</div>
